<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ad.blogger.entity.*"%>
<%@ include file="pages/top.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<title>微博易weiboyi.com|跨平台微博精准传播平台</title>
		<link rel="stylesheet" href="<%=basePath%>/css/global.css" />
		<link rel="stylesheet" href="<%=basePath%>/css/style.css" />
		<link rel="stylesheet" href="<%=basePath%>/css/vscroll.css" />
		<link rel="stylesheet" href="<%=basePath%>/css/hscroll.css" />
		<script src="<%=basePath%>/js/SpryTabbedPanels.js"
			type="text/javascript"></script>
		<script src="<%=basePath%>/js/swfobject.js" type="text/javascript"></script>
		<script src="<%=basePath%>/js/jquery-1.7.2.min.js" type="text/javascript"></script>
		<script src="<%=basePath%>/js/jquery.imageScroller.js"
			type="text/javascript"></script>
		<script src="<%=basePath%>/js/jquery.form.js" type="text/javascript"></script>
		<script src="<%=basePath%>/js/hscroll.js" type="text/javascript"></script>
		<script src="<%=basePath%>/js/vscroll.js" type="text/javascript"></script>
		<link href="<%=basePath%>/css/SpryTabbedPanels.css" rel="stylesheet"
			type="text/css" />
		<script type="text/javascript">
		// 到微博主注册页面
		function goBloggerReg(){
			window.location.href="userAction/goBloggerReg.ad" ;
		}
		//到广告主注册页面
		function goAdReg(){
			window.location.href="userAction/goAdReg.ad" ;
		}
		function loadVerifyCode(obj) {
		
			$(obj).find("img").attr("src", "verifyCode.ad?rand=" + Math.random());
		}
		$(function(){
				var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
				TabbedPanels1.cancelEvent = function(e)
				{
					if (e.preventDefault) e.preventDefault();
					else e.returnValue = false;
					if (e.stopPropagation) e.stopPropagation();
					else e.cancelBubble = true;
					if(TabbedPanels1.getCurrentTabIndex()==0){
					
						loadVerifyCode($("#adVerify"));
					}else{
						loadVerifyCode($("#wbVerify"));
					}
					return false;
				};
			loadVerifyCode($("#adVerify"));
			wbLogin();
			adLogin();
		});
		function adLogin(){
			var options = { 
	      	  beforeSubmit:adShowRequest  ,
	      	  success:adShowResponse
		    }; 
		    $('#adForm').ajaxForm(options); 
		}
		function wbLogin(){
			var options = { 
	      	  beforeSubmit:showRequest  ,
	      	  success:showResponse
	      	
		    }; 
		    $('#wbForm').ajaxForm(options); 
		}
		function showRequest(formData, jqForm, options) { 
			for (var i=0; i < formData.length; i++) { 
		        if (!formData[i].value) { 
		            if(formData[i].name=="user.username"){
		            	$("#errMsg1").html("请输入用户名！");
		            }else if(formData[i].name=="user.password"){
		           		 $("#errMsg1").html("请输入密码");
		            }else if(formData[i].name=="verifyCode"){
		           	 $("#errMsg1").html("请输入验证码！");
		            }
		            return false; 
		        } 
		    }
		     $("#errMsg1").html("正在登陆...");
		    return true ;
		}
		function showResponse(responseText, statusText, xhr, $form){
			if(statusText=='success'){
				var obj = JSON.parse(responseText);
				if(obj.resultCode==0){
					$("#errMsg1").html(obj.result);
				}else{
					document.location.href="blogger/bloggerAction/index.ad";
				}
			}else{
				$("#errMsg1").html("网络错误,请重试！");
			}
		}
	function adShowRequest(formData, jqForm, options) { 
			for (var i=0; i < formData.length; i++) { 
		        if (!formData[i].value) { 
		            if(formData[i].name=="user.username"){
		            	$("#adErrMsg").html("请输入用户名！");
		            }else if(formData[i].name=="user.password"){
		           		 $("#adErrMsg").html("请输入密码");
		            }else if(formData[i].name=="verifyCode"){
		           	 $("#adErrMsg").html("请输入验证码！");
		            }
		            return false; 
		        } 
		    }
		     $("#adErrMsg").html("正在登陆...");
		    return true ;
		}
		function adShowResponse(responseText, statusText, xhr, $form){
			if(statusText=='success'){
				var obj = JSON.parse(responseText);
				if(obj.resultCode==0){
					$("#adErrMsg").html(obj.result);
				}else{
					document.location.href="ad/adAction/myAds.ad";
				}
			}else{
				$("#adErrMsg").html("网络错误,请重试！");
			}
		}
		
	</script>
	</head>
	<body>

		<div id="container">
			<!--logo到导航条的内容-->
			<jsp:include page="head.jsp" flush="true"></jsp:include>

			<!--end heaer-->
			<div id="mainBody">
				<div id="mb_main">
					<div class="mb_m_child">
						<div id="flashcontent"></div>
					</div>
					<!--广告主下单-->
					<div id="xd" class="mb_m_child">
						<div id="left_b"></div>
						<div id="middle_b">
							<div style="text-align: left;">
								<span
									style="font-size: 16px; margin-left: 20px; display: block; line-height: 40px;"><img
										style="height: 20px; width: 20px; margin: 5px 5px 0 0;"
										src="<%=basePath%>/images/wb.gif" alt="微博" />广告主下单流程:</span>
							</div>
							<div style="">
								<img src="<%=basePath%>/images/xd1.jpg" alt="广告主下单流程1" />
								<img src="<%=basePath%>/images/xd2.jpg" alt="广告主下单流程2" />
								<img src="<%=basePath%>/images/xd3.jpg" alt="广告主下单流程3" />
							</div>
						</div>
						<div id="right_b"></div>
					</div>
					<!--微博主接单-->
					<div id="jd" class="mb_m_child">
						<div id="left_b"></div>
						<div id="middle_b">
							<div style="text-align: left;">
								<span
									style="font-size: 16px; margin-left: 20px; display: block; line-height: 40px;"><img
										style="height: 20px; width: 20px; margin: 5px 5px 0 0;"
										src="<%=basePath%>/images/wb.gif" alt="微博" />微博主接单流程:</span>
							</div>
							<div style="">
								<img src="<%=basePath%>/images/xd1.jpg" alt="微博主接单流程1" />
								<img src="<%=basePath%>/images/xd2.jpg" alt="微博主接单流程2" />
								<img src="<%=basePath%>/images/xd3.jpg" alt="微博主接单流程3" />
							</div>
						</div>
						<div id="right_b"></div>
					</div>
				</div>
				<div id="mb_right">
					<div class="mb_r_child" id="mb_r_child_1">
						<div id="TabbedPanels1" class="TabbedPanels">
							<ul class="TabbedPanelsTabGroup">
								<li class="TabbedPanelsTab" tabindex="0">
									广告主
								</li>
								<li class="TabbedPanelsTab" tabindex="1">
									微博主
								</li>
							</ul>
							<div class="TabbedPanelsContentGroup">
								<div id="ad_login" class="TabbedPanelsContent">
									<form id="adForm" name="adForm" action="ad/adUserAction/doLogin.ad"
										method="post">
										<input type="hidden" name="user.userType" value="0" />
										<div id="adErrMsg">
											<s:fielderror />
										</div>
										<table width="100%" border="0">
											<tr class="line_tr">
												<td width="26%" align="right" valign="middle">
													用户名：
												</td>
												<td width="74%">
													<input type="text" class="input_l" name="user.username"
														id="qy_username" />
												</td>
											</tr>
											<tr class="line_tr">
												<td width="26%" align="right" valign="middle">
													密&nbsp;&nbsp;&nbsp;码：
												</td>
												<td width="74%">
													<input type="password" class="input_l" name="user.password"
														id="qy_password" />
												</td>
											</tr>
											<tr class="line_tr">
												<td width="26%" align="right" valign="middle">
													验证码：
												</td>
												<td width="74%">
													<input id="verifyCode" type="text" class="input_s"
														name="verifyCode" />
													<a id="adVerify" href="###"
														onclick="javascript:loadVerifyCode(this)"><img
															id="verifyCodeImg_ad" alt="验证码" src="" width="50"
															height="20" style="cursor: hand; margin-top: 0px;" />点击刷新</a>
												</td>
											</tr>
											<tr class="line_tr1">
												<td colspan="2" align="center" valign="middle"
													class="ch_box">
													<input name="save_qiye" id="save_qiye" type="checkbox"
														value="" class="cc" />
													<span style="color: #999;">记住用户名</span>|
													<a href="#" target="_blank" class="forg">忘记密码</a>
												</td>
											</tr>
											<tr class="line_tr1">
												<td colspan="2" align="center" valign="middle"
													class="ch_btn">
													<input type="submit" class="btn" value="登陆" />
													<input type="button" class="btn1" value="免费注册"
														onclick="javascript:goAdReg();" />
												</td>
											</tr>
										</table>
									</form>
								</div>
								<div id="wb_login" class="TabbedPanelsContent">
									<form id="wbForm" name="wbForm"
										action="blogger/bUserAction/doLogin.ad" method="post">
										<input type="hidden" name="user.userType" value="1" />
										<div id="errMsg1" class="errMsg">
											<s:fielderror />
										</div>
										<table width="100%" border="0">
											<tr class="line_tr">
												<td width="26%" align="right" valign="middle">
													用户名：
												</td>
												<td width="74%">
													<input type="text" class="input_l" name="user.username"
														id="user.username" />
												</td>
											</tr>
											<tr class="line_tr">
												<td width="26%" align="right" valign="middle">
													密&nbsp;&nbsp;&nbsp;码：
												</td>
												<td width="74%">
													<input type="password" class="input_l" name="user.password"
														id="user.password" />
												</td>
											</tr>
											<tr class="line_tr">
												<td width="26%" align="right" valign="middle">
													验证码：
												</td>
												<td width="74%">
													<input id="verifyCode" type="text" class="input_s"
														name="verifyCode" />
													<a id="wbVerify" href="#"
														onclick="javascript:loadVerifyCode(this)"><img
															id="verifyCodeImg_bozhu" alt="验证码" src="" width="50"
															height="20" style="cursor: hand; margin-top: 0px;" />点击刷新</a>
												</td>
											</tr>
											<tr class="line_tr1">
												<td colspan="2" align="center" valign="middle"
													class="ch_box">
													<input name="save_bozhu" id="save_bozhu" type="checkbox"
														value="" class="cc" />
													<span style="color: #999;">记住用户名</span>|
													<a href="" target="_blank" class="forg">忘记密码</a>
												</td>
											</tr>
											<tr class="line_tr1">
												<td colspan="2" align="center" valign="middle"
													class="ch_btn1">
													<input type="submit" value="登陆" class="btn" />
													<input type="button" value="免费注册" class="btn1"
														onclick="javascript:goBloggerReg()" />
												</td>
											</tr>
											<tr class="line_tr1">
												<td colspan="2" align="center" valign="middle"
													class="ch_btn1">
													<s:fielderror></s:fielderror>
												</td>
											</tr>
										</table>
									</form>
								</div>
								<!--end TabbedPanelsContent-->
							</div>
							<!--end TabbedPanelsContentGroup-->
						</div>
						<!--end TabbedPanels1-->
					</div>
					<!--end mb_r_child-->
					<!--微博主接单-->
					<div id="fengyun" class="mb_r_child">
						<div class="r_left_b"></div>
						<div class="r_middle_b">



							<p style="margin-top: 10px;">
								<img style="height: 20px; width: 20px; margin: 5px 5px 0 0;"
									src="<%=basePath%>/images/wb.gif" alt="微博" />
								风云博主
							</p>
							<div id="v_viewer">
								<div id="v_viewerFrame">
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="fengyun_detail">精彩电影1<br /> 粉丝量:555555</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="fengyun_detail">精彩电影2<br /> 粉丝量:555555</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="fengyun_detail">精彩电3影3<br /> 粉丝量:555555</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="fengyun_detail">精彩电影4<br /> 粉丝量:555555</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="fengyun_detail">精彩电影5<br /> 粉丝量:555555</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="fengyun_detail">精彩电影6<br /> 粉丝量:555555</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="fengyun_detail">精彩电影7<br /> 粉丝量:555555</span>
										</dd>
									</dl>
								</div>
							</div>
						</div>
						<div class="r_right_b"></div>
					</div>
					<div class="mb_r_child">
						<div class="r_left_b"></div>
						<div id="al_list" class="r_middle_b">
							<p style="margin-top: 10px;">
								<img style="height: 20px; width: 20px; margin: 5px 5px 0 0;"
									src="<%=basePath%>/images/wb.gif" alt="微博" />
								成功案例
							</p>
							<div id="v_viewer1">
								<div id="v_viewerFrame1">
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="anli_detail">11111成功案例成功案例成功案例成功案例成功案例成功案例成功案例</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="anli_detail">2222成功案例成功案例成功案例成功案例成功案例成功案例成功案例</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="anli_detail">333成功案例成功案例成功案例成功案例成功案例成功案例成功案例</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="anli_detail">444成功案例成功案例成功案例成功案例成功案例成功案例成功案例</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="anli_detail">555成功案例成功案例成功案例成功案例成功案例成功案例成功案例</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="anli_detail">666成功案例成功案例成功案例成功案例成功案例成功案例成功案例</span>
										</dd>
									</dl>
									<dl>
										<dt>
											<img src="<%=basePath%>/images/wb_icon.jpg"
												style="width: 55px; height: 55px;" />
										</dt>
										<dd>
											<span class="anli_detail">777成功案例成功案例成功案例成功案例成功案例成功案例成功案例</span>
										</dd>
									</dl>
								</div>
							</div>
						</div>
						<div class="r_right_b"></div>
					</div>


					<!--mb_r_child-->

				</div>
				<!--end mb_right-->

				<div id="partnerGallery">
					<div id="viewer">
						<div id="viewerFrame">
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" />
							</a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" />
							</a>
						</div>
					</div>
					<span id="btn1"><img
							src="<%=basePath%>/images/arr_left.gif" /> </span><span id="btn2"><img
							src="<%=basePath%>/images/arr_right.gif" /> </span>
				</div>
			</div>

			<!--end mb_main-->
			<div id="foot">
				<div id="contact">
					<a href="">关于我们</a>|
					<a href="">联系我们</a>|
					<a href="">加入我们</a>
				</div>
				<div id="copyright">
					版权所有 © 北京祥睿博通科技有限公司 2011-2012 . 京ICP备:******号.
				</div>
			</div>
		</div>
		<script type="text/javascript">
	var so = new SWFObject("swf/ht6.swf", "sotester", "705", "239", "0", "#FFFFFF");
	so.write("flashcontent");

		
		
  </script>

	</body>
</html>
